
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSString (extension)
- (BOOL)isEmptyOrNULL;
- (NSString *)trimString;
- (NSString *)htmlString;
- (unsigned long)HEX;
- (NSString *)md5String;
- (NSString *)base64String;
- (NSString *)decodeBase64;

- (NSString *)stringByURLEncode;
- (NSString *)stringByURLDecode;

- (CGSize)sizeForFont:(UIFont *)font
                 size:(CGSize)size
        lineBreakMode:(NSLineBreakMode)linebreakMode;
- (CGFloat)heightForFont:(UIFont *)font width:(CGFloat)width;

- (NSString *)stringByTrim;
- (BOOL)containString:(NSString *)string;
- (BOOL)MobileNumber;
@end
